class CreateDocuments < ActiveRecord::Migration
  def self.up
    create_table :documents do |t|
      t.string :identifier
      t.string :title
      t.string :keywords
      t.date :dated
      t.datetime :updated_at
      t.fkey :person, :company, :department, :user    
    end
  end

  def self.down
    drop_table :documents
  end
end
